<template>
  <div >
    <div>欢迎来到果冻后台管理系统</div>
    <div>
      <div>
        <div className="weather">
          <iframe
            allowtransparency="true"
            frameBorder="0"
            width=""
            height="36"
            scrolling="no"
            src="//tianqi.2345.com/plugin/widget/index.htm?s=3&z=2&t=0&v=0&d=2&bd=0&k=000000&f=&ltf=009944&htf=cc0000&q=0&e=0&a=1&c=54511&w=180&h=36&align=center"
          ></iframe>
        </div>
      </div>
      <div id="datatime"></div>
      <div>11</div>
    </div>
  </div>
</template>

<script>
export default {
  name: '',
  props:{},
  data () {
    return {
    }
  },
  components: {},
  methods: {},
  mounted() {
        setInterval(
      //当前年月日倒计时
      "document.getElementById('datetime').innerHTML=new Date().toLocaleString();",
      1000
    );
  },
  computed: {},
  watch: {}
}
</script>

<style lang='scss' scoped>
.webbackground {
  display: flex;
}
</style>